﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;

namespace HCD.His.Dtos
{
    public class HisOrdersDto : Entity<long>
    {
        /// <summary>
        /// 病人标识号
        /// </summary>
        public string PatientId { get; set; }

        /// <summary>
        /// 病人本次住院标识
        /// </summary>
        public string VisitId { get; set; }

        /// <summary>
        /// 医嘱序号
        /// </summary>
        public int OrderNo { get; set; }

        /// <summary>
        /// 医嘱子序号
        /// </summary>
        public int OrderSubNo { get; set; }

        /// <summary>
        /// 长期医嘱标志 0临时  1长期
        /// </summary>
        public int RepeatIndicator { get; set; }

        /// <summary>
        /// 医嘱类别
        /// </summary>
        public string OrderClass { get; set; }

        /// <summary>
        /// 医嘱正文
        /// </summary>
        public string OrderText { get; set; }

        /// <summary>
        /// 医嘱代码
        /// </summary>
        public string OrderCode { get; set; }

        /// <summary>
        /// 药品一次使用剂量
        /// </summary>
        public decimal Dosage { get; set; }

        /// <summary>
        /// 剂量单位
        /// </summary>
        public string DosageUnits { get; set; }

        /// <summary>
        /// 给药途径和方法
        /// </summary>
        public string Administration { get; set; }

        /// <summary>
        /// 持续时间
        /// </summary>
        public decimal? Duration { get; set; }

        /// <summary>
        /// 持续时间单位
        /// </summary>
        public string DurationUnits { get; set; }

        /// <summary>
        /// 起始日期及时间
        /// </summary>
        public DateTime StartDateTime { get; set; }

        /// <summary>
        /// 停止日期及时间
        /// </summary>
        public DateTime? StopDateTime { get; set; }

        /// <summary>
        /// 执行频率描述
        /// </summary>
        public string Frequency { get; set; }

        /// <summary>
        /// 频率次数
        /// </summary>
        public int? FreqCounter { get; set; }

        /// <summary>
        /// 频率间隔
        /// </summary>
        public int? FreqInterval { get; set; }

        /// <summary>
        /// 频率间隔单位
        /// </summary>
        public string FreqIntervalUnit { get; set; }

        /// <summary>
        /// 医生说明
        /// </summary>
        public string FreqDetail { get; set; }

        /// <summary>
        /// 护士执行时间
        /// </summary>
        public string PerformSchedule { get; set; }

        /// <summary>
        /// 执行结果
        /// </summary>
        public string PerformResult { get; set; }

        /// <summary>
        /// 开医嘱科室
        /// </summary>
        public string OrderingDept { get; set; }

        /// <summary>
        /// 开医嘱医生
        /// </summary>
        public string Doctor { get; set; }

        /// <summary>
        /// 停医嘱医生
        /// </summary>
        public string StopDoctor { get; set; }

        /// <summary>
        /// 开医嘱校对护士
        /// </summary>
        public string Nurse { get; set; }

        /// <summary>
        /// 停医嘱校对护士
        /// </summary>
        public string StopNurse { get; set; }

        /// <summary>
        /// 1 新开,2 校对,3 停止,4 作废
        /// </summary>
        public string OrderStatus { get; set; }

        /// <summary>
        /// 医生代码
        /// </summary>
        public string DoctorUser { get; set; }

        /// <summary>
        /// 校对时间
        /// </summary>
        public DateTime? VerifyDataTime { get; set; }

        /// <summary>
        /// 药品规格
        /// </summary>
        public string DrugSpec { get; set; }

        /// <summary>
        /// 药品供货商
        /// </summary>
        public string FirmId { get; set; }
    }
}
